import request from "@/utils/request"
// 获取公钥
export function getPublicKey() {
  return request({
    url: "bpo-attendance/bpo/getPublicKey",
    method: "get",
  })
}
// 租户列表
export function tenantList() {
  return request({
    url: "bpo-attendance/bpo/tenantList",
    method: "get",
  })
}
// 角色下拉列表
export function getRoleList() {
  return request({
    url: "bpo-attendance/public/roleDropdownList",
    method: "get",
  })
}
// 组织树状列表
export function getOrgTreeList() {
  return request({
    url: "bpo-attendance/public/getOrgTreeList",
    method: "get",
  })
}
// 供应商下拉列表
export function getSupplierDropDownList(params: any) {
  return request({
    params,
    url: "bpo-attendance/public/getSupplierDropDownList",
    method: "get",
  })
}
// 获取合同模板
export function contractModelDropdownList() {
  return request({
    url: "bpo-attendance/public/contractModelDropdownList",
    method: "get",
  })
}
// 获取项目下拉列表
export function projectDropdownList() {
  return request({
    url: "bpo-attendance/public/projectDropdownList",
    method: "get",
  })
}
// 获取薪资方案下拉列表
export function wagePlanDropdownList() {
  return request({
    url: "bpo-attendance/public/wagePlanDropdownList",
    method: "get",
  })
}